@extends('Home.layout.layout')
@section('con')
<div class="container">
  <div class="col-md-10 col-xs-12 col-md-offset-1">
    <ol class="breadcrumb" style="background-color:#fff;">
      <li><a href="{{url('/homes/index')}}">首页</a></li>
        <li class="active" style="color:#333;">志愿者及捐助</li>
    </ol>
  </div>
</div>
<div class="container">
  <div class="col-md-10 col-xs-12 col-md-offset-1">
    <div class="panel panel-info">
      <div class="row">
          <div class="col-md-2 col-xs-10" style="background-color:#F2F2F2;margin-left:20px;text-align:center;">
            <ul class="nav" style="margin-left:-5px;">
              <li style="border-bottom:1px dashed #858585;"><a style="font-size:18px;color:#333;" href="#">志愿者活动</a></li>
              <li style="border-bottom:1px dashed #858585;"><a style="font-size:18px;color:#333;" href="{{url('/home/loveser/notes')}}">志愿者手记</a></li>
            </ul>
          </div>
          <div class="col-md-7 col-xs-10">
            <div class="row" style="border-bottom:1px solid #858585;margin-left:4%;">
              <h4 style="line-height:40px;">志愿者活动</h4>
            </div>
            <div class="row" style="height:30px;"></div>
            @foreach($activities as $k => $v)
            <a style="color:#333;text-decoration: none;" href="{{url('/home/loveser/act',['id'=>$v->id])}}"><div class="row" style="border-bottom:1px solid #858585;margin-left:4%;margin-bottom: 20px;">
              <div class="row" style="width:100%;margin-left:1%;" >
                <span>{{$v->title}}</span><span style="text-align:right;display:block;margin-top:-20px;">{{date('Y',$v->time)}}年{{date('m',$v->time)}}月{{date('d',$v->time)}}日&nbsp;&nbsp;{{date('H:i',$v->time)}}</span>
              </div>
              <div class="row" style="height:140px;width:100%;margin-left:1%;">
                  <div class="col-sm-4">
                    <img src="{{asset($v->pic)}}" width="200px" height="130px" alt="">
                  </div>
                  <div class="col-sm-7 col-sm-offset-1" style="overflow:hidden;">
                    <div class="row" style="color:#333;height:70px;width:100%;margin-left:1%;">{!!$v->content!!}</div>
                  </div>
              </div>
              <div class="row" style="margin-left:1%;margin:0 10px;">
                <p>{{$v->address}}</p>
              </div>
            </div></a>
            @endforeach
            <div clas="row" style="text-align:center;line-height: 50px;margin-top:10px;">
            <a style="color:#333;text-decoration: none;" href="{!!$activities->url(0)!!}">首页</a>&nbsp;|&nbsp;
            <a style="color:#333;text-decoration: none;" href="{!!$activities->previousPageUrl()!!}">上一页</a>
            <a style="color:#333;text-decoration: none;" href="{!!$activities->nextPageUrl()!!}">下一页</a>&nbsp;|&nbsp;
            <a style="color:#333;text-decoration: none;" href="{!!$activities->url($activities->lastPage())!!}">尾页</a>&nbsp;&nbsp;
            <span>当前页码:{!!$activities->currentPage()!!}/{!!$activities->lastPage()!!}</span>&nbsp;&nbsp;<span>共{!!$activities->total()!!}条</span>
            </div>
          </div>
          <div class="col-md-2 col-xs-10" style="border:1px solid #858585;margin-left:4%;">
            <div class="row">
              <h4>每一分参与,</h4><h4 style="text-align:right;">每一分力量</h4>
            </div>
            <div class="row">
              <img src="{{asset('/public/Home/images/apperweima.png')}}" width="100%" alt="">
            </div>
          </div>
      </div>
    </div>
  </div>
</div>
<div class="row" id="page-wrapper" style="min-height: 100px;" >
  <div class="row">
    <div class="col-sm-10 col-sm-offset-1" >
       <div class="row" >
              <div class="row">
                  <div class="col-lg-8 col-lg-offset-2">
                      <h4><a href="">首页</a>&nbsp;&nbsp;>&nbsp;&nbsp;<a  style="color:black" href="">志愿者及捐助</a></h4>
                  </div>
                  <!-- /.col-lg-12 -->
              </div>
        </div>
    </div>
</div>
<div class="row">
    <div class="col-md-10 col-md-offset-1">
      <div class="col-xs-3 col-xs-offset-" >
          <div class="col-md-9 col-md-offset-3">
            <div class="navbar-default sidebar" role="navigation">
                <div class="sidebar-nav navbar-collapse">
                    <ul class="nav" id="side-menu">
                          <li class="sidebar-search">
                              <div class="input-group custom-search-form">
                              </div>
                              </li>
                              <li>
                                  <a style="color:black" href=""><i class="fa  fa-fw"></i><b><h4></h4></b></a>
                              </li>
                          <li> 
                        <ul class="nav nav-second-level">
                          <li>
                             <a href="{{url('/homes/loveser/show')}}" style="color:black" href="">志愿者活动</a>
                          </li>
                          <li>
                             <a style="color:black" href="">志愿者手记</a>
                          </li>
                          <li>
                             <a href="{{url('/homes/care')}}" style="color:black" href="">我要捐助</a>
                          </li>
                          <li>
                             <a style="color:black" href="{{url('/homes/select')}}">捐款查询</a>
                          </li>
                          <li>
                             <a style="color:black" href="{{url('/homes/ask')}}">申请捐款</a>
                          </li><li>
                             <a style="color:black" href="{{url('/homes/useradd')}}">志愿者报名</a>
                          </li>
                        </ul>
                        </li>
                    </ul>
            </div>
       </div>
    </div>      
</div>     
 @section('page')
        <!-- 标题 -->
      <div class="col-xs-5" style=" height:800px">
          <div class="row" style="">
         


            <div class="row">
                <div class="col-md-6 col-lg-offset-1">
                   <a style="color:black" href=""><h5> <b>333333333333333333</b></h5></a>
                </div>
                <div class="col-md-12 col-lg-offset-1">
                    <h5><span>发布时间:4444444444&nbsp;&nbsp;| <span>作者:555555555555</span>&nbsp;&nbsp;| <span>原作者:6666666666666</span>  </span></h5>
                </div>
                <div class="col-md-8 col-lg-offset-1">
                    <img src=''' width="260px" height="140px">
                   <a style="color:black" href="" style="font-color:blank"> <h5>77777777777777777777</h5></a>
                </div>
            </div>
            <hr>
          </div>
        
      </div>
       <div class="col-xs-2" style=" height:800px">
        <div class="row">
            <div class="col-xs-12" style="  background:#66cccc; margin-top:5px;">
                <img src="{{asset('/public/home/background/1.png')}}" width="50px">
                <a  style="color:black;" href="" >我要求助</a>
            </div>
            <div class="col-xs-12" style="  background:#66cccc;margin-top:5px;">
                <img src="{{asset('/public/home/background/2.png')}}" width="50px">
                <a  style="color:black;" href="" >我要参与</a>
            </div>
            <div class="col-xs-12" style="  background:#66cccc;margin-top:5px;">
                <img src="{{asset('/public/home/background/3.png')}}" width="50px">
            <a  style="color:black;" href="" >我要捐款</a>
            </div>
         </div>   
          </div>
     </div>
  </div>
@show 
   <footer class="footer" >
      <div class="container" >
        <div class="row footer-top" >
          <div class="col-md-12 " style="background-color:rgba(225,238,250,0.99)">
            <div class="row about">
            @foreach($datas as $k => $v)
              <div class="col-xs-6 col-md-2" style="text-align:center;">
                <h4>{{$v->name}}</h4>
                <ul class="list-unstyled">
                @foreach($v->sub as $kk => $vv)
                  <li><a href="" style="color:#333">{{$vv->name}}</a></li>
                @endforeach
                </ul>
              </div>
            @endforeach
            </div>
          </div>
        </div>
        <center>
        <div class="row" style="background-color:rgba(225,238,250,0.99)">
          <div class="contant copy wp" >
                  <p>友情链接：
                  @foreach($blinks as $k=>$v)
                  <a target="_blank" href="{{$v->url}}">{{$v->name}}</a>&nbsp;&nbsp;&nbsp;
                  @endforeach
                  </p>
                  <p>地址：北京市海淀区龙泉寺路27号德尘居 &emsp;&emsp; Email：chrenai@chrenai.org &emsp;&emsp; 电话：010-62489401 &emsp;&emsp; 传真：010-62480890</p>
          </div>
       </div>
        </center>
        <hr/>
        <div class="row footer-bottom">
          <ul class="list-inline text-center">
            <li><a href="http://www.miibeian.gov.cn/" target="_blank">京ICP备11008151号</a></li><li>京公网安备11010802014853</li>
          </ul>
        </div>
      </div>
  </footer>    
@endsection



